import React, { Component } from 'react'
import PropTypes from 'prop-types'

export default class Img extends Component {
    static propTypes = {
        src: PropTypes.string
    }

    render() {
        return (
            <div className="img">
                <img src={require('../assets/images/' + this.props.src).default} alt="" height={this.props.height} width={this.props.width} />
            </div>
        )
    }
}
